﻿
#region Imports
using System;
#endregion

namespace Project.Model
{
    #region 表名:Article. 描述:
    /// <summary>
    /// 
    /// </summary>
    [Serializable]
    public class Article
    {
        #region Property Members
        /// <summary>
        /// Id 
        /// </summary>
        public virtual int Id { get; set; }
        /// <summary>
        /// ChannelId 
        /// </summary>
        public virtual int? ChannelId { get; set; }
        /// <summary>
        /// ColumnId 栏目Id
        /// </summary>
        public virtual int? ColumnId { get; set; }
        /// <summary>
        /// ColumnCode 栏目编码用于排序
        /// </summary>
        public virtual string ColumnCode { get; set; }
        /// <summary>
        /// ColumnName 
        /// </summary>
        public virtual string ColumnName { get; set; }
        /// <summary>
        /// Title 标题
        /// </summary>
        public virtual string Title { get; set; }
        /// <summary>
        /// SubTitle 副标题
        /// </summary>
        public virtual string SubTitle { get; set; }
        /// <summary>
        /// Content 内容
        /// </summary>
        public virtual string Content { get; set; }
        /// <summary>
        /// KeyWords 关键字,用于seo
        /// </summary>
        public virtual string KeyWords { get; set; }
        /// <summary>
        /// Summary 摘要,同时用于seo
        /// </summary>
        public virtual string Summary { get; set; }
        /// <summary>
        /// ViewNum 浏览次数
        /// </summary>
        public virtual int? ViewNum { get; set; }
        /// <summary>
        /// PlanId 计划Id
        /// </summary>
        public virtual int? PlanId { get; set; }
        /// <summary>
        /// PlanName 计划名称
        /// </summary>
        public virtual string PlanName { get; set; }
        /// <summary>
        /// ReviewNum 回复次数
        /// </summary>
        public virtual int? ReviewNum { get; set; }
        /// <summary>
        /// UserId 用户id
        /// </summary>
        public virtual int? UserId { get; set; }
        /// <summary>
        /// Author 作者
        /// </summary>
        public virtual string Author { get; set; }
        /// <summary>
        /// TitleColor 颜色标题
        /// </summary>
        public virtual string TitleColor { get; set; }
        /// <summary>
        /// IsPass 是否审核
        /// </summary>
        public virtual int? IsPass { get; set; }
        /// <summary>
        /// IsTop 是否置顶
        /// </summary>
        public virtual int? IsTop { get; set; }
        /// <summary>
        /// IsImg 是否是图片文章
        /// </summary>
        public virtual int? IsImg { get; set; }
        /// <summary>
        /// Img 图片地址
        /// </summary>
        public virtual string Img { get; set; }
        /// <summary>
        /// IsOut 是否是外部链接
        /// </summary>
        public virtual int? IsOut { get; set; }
        /// <summary>
        /// OutUrl 外部链接
        /// </summary>
        public virtual string OutUrl { get; set; }
        /// <summary>
        /// CreatDate 创建时间
        /// </summary>
        public virtual DateTime CreatDate { get; set; }
        /// <summary>
        /// UpdateDate 更新时间
        /// </summary>
        public virtual DateTime UpdateDate { get; set; }
        #endregion
    }
    #endregion

    #region 表名:Column. 描述:
    /// <summary>
    /// 
    /// </summary>
    [Serializable]
    public class Column
    {
        #region Property Members
        /// <summary>
        /// Id 主键
        /// </summary>
        public virtual int Id { get; set; }
        /// <summary>
        /// Title 栏目名称
        /// </summary>
        public virtual string Title { get; set; }
        /// <summary>
        /// Code 栏目编码,用于排序
        /// </summary>
        public virtual string Code { get; set; }
        /// <summary>
        /// ParentId 负栏目
        /// </summary>
        public virtual int? ParentId { get; set; }
        /// <summary>
        /// Info 简要
        /// </summary>
        public virtual string Info { get; set; }
        /// <summary>
        /// IsOut 是否是外部链接
        /// </summary>
        public virtual int? IsOut { get; set; }
        /// <summary>
        /// OutURL 外部链接
        /// </summary>
        public virtual string OutURL { get; set; }
        /// <summary>
        /// IsReview 是否允许回复
        /// </summary>
        public virtual int? IsReview { get; set; }
        /// <summary>
        /// IsPost 
        /// </summary>
        public virtual int? IsPost { get; set; }
        /// <summary>
        /// IsTop 是否置顶
        /// </summary>
        public virtual int? IsTop { get; set; }
        /// <summary>
        /// TemplateId 模板id
        /// </summary>
        public virtual int? TemplateId { get; set; }
        /// <summary>
        /// ContentTemp 内容模板id
        /// </summary>
        public virtual int? ContentTemp { get; set; }
        /// <summary>
        /// PageSize 每页显示的数目
        /// </summary>
        public virtual int? PageSize { get; set; }
        #endregion
    }
    #endregion
}
